n=eval(input())
for i in range(n):
    print(f'{i}',end=' ')